#pragma once

#ifndef myTexture_H
#define myTexture_H
	
	#include <GL/glew.h>

	class myTexture
	{
	public:
		int width, height, pixelsize;
		GLuint texName;

		GLubyte * getBytes(const char *filename);
		void readTexture(const char *filename);
		void readCube(const char *plusx, const char *moinx, const char *plusy, const char *moiny, const char *plusz, const char *moinz);
		void use(int idtexture,GLint loc,int id,int type);
		void unuse(int idtexture,int type);
	};

#endif
